<?php
namespace app\admin\widget;


class Topbar extends \C {

  public function logo(){

    $this->assign("site",config("site."));

    return $this->fetch('/widget/topbar/logo');

  }
  public function comment(){

    $this->assign("user",$this->user);
    return $this->fetch('/widget/topbar/comment');

  }
  public function language(){

    $this->assign("user",$this->user);
    return $this->fetch('/widget/topbar/language');

  }
  public function message(){

    $this->assign("user",$this->user);
    return $this->fetch('/widget/topbar/message');

  }
  public function panel(){

    $this->assign("user",$this->user);
    return $this->fetch('/widget/topbar/panel');

  }
  public function search(){

    $this->assign("user",$this->user);
    return $this->fetch('/widget/topbar/search');

  }


}
